package com.xgimi.open.skill.datamanager.service.response.page;

import lombok.Data;

import java.io.Serializable;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/2/4 16:05
 */
@Data
public class Paginator implements Serializable {
    private static final long serialVersionUID = -8290425766388080161L;
    private Integer currentPage;
    private Integer pageSize;
    private Integer totalRecord;
    private Integer totalPage;
    private String orderSegment;

    public Paginator() {
    }

    public Paginator(Integer currentPage, Integer pageSize, String orderSegment) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.orderSegment = orderSegment;
    }
}
